/*
** struct.h for zomzom in /home/goupil_r//GameInLab/game1
** 
** Made by robin goupil
** Login   <goupil_r@epitech.net>
** 
** Started on  Thu Nov 15 17:28:33 2012 robin goupil
** Last update Sat Nov 17 18:04:53 2012 robin goupil
*/

#ifndef STRUCT_H_
# define STRUCT_H_

#include <SDL/SDL.h>
#include "utils.h"

typedef struct	s_sprite
{
  SDL_Surface	*image;
  int		size;
} t_sprite;

typedef struct	s_reticle
{
  t_sprite	*sprite;
  t_vec		pos;
} t_reticle;

typedef struct	s_biped
{
  t_sprite	*sprite;
  t_vec		pos;
  double	rotation;
  int		health;
  double	acceleration;
  double	speed_x;
  double	speed_y;
  double	max_speed;
} t_biped;

typedef struct	s_weapon
{
  SDL_Surface	*sprite;
  int		damage;
  double	fire_rate;
  int		mag_size;
  int		ammo;
  int		total_ammo;
} t_weapon;

#endif /* !STRUCT_H_ */
